/**
 * @Description:
 * @Author bianpengfei
 * @create 2022/11/8 22:49
 */
import 'viewerjs/dist/viewer.css'
import Vuer from 'v-viewer'

export default {
  install: (app) => {
    app.use(Vuer, { name: 'vuer' })
    Vuer.setDefaults({
      backdrop: true,
      inline: false,
      button: true,
      navbar: true,
      title: true,
      toolbar: true,
      tooltip: true,
      movable: true,
      zoomable: true,
      rotatable: true,
      scalable: true,
      transition: true,
      fullscreen: true,
      keyboard: true,
      zIndexInline: 99999,
      zIndex: 99999
    })
  }
}
